﻿#pragma once

#include "ui_LoginDialog.h"
#include <QtWidgets/QDialog>

class LoginDialog : public QDialog
{
    Q_OBJECT
public:
    LoginDialog(QWidget* parent = nullptr);
    ~LoginDialog();
    void updateLoginInfo();

protected:
    void mousePressEvent(QMouseEvent* event);
    void mouseMoveEvent(QMouseEvent* event);
    bool eventFilter(QObject* watched, QEvent* event);
public slots:
private slots:
    void OnLoginBtn_clicked();
    void OnCloseBtn_clicked();

private:
    Ui::LoginDialogClass ui;
    QPoint               m_start;
};
